require 'spec'
require 'funfx'

require 'funfx/browser/firewatir'
BROWSER = FireWatir::Firefox.new

DEMO_APP = "file:///D:/Projects/flex-code-examples/flex-code-examples/trunk/src/spring-hibernate-blazeds/flex/target/spring-hibernate-blazeds-flex.html"

Before do
  BROWSER.goto(DEMO_APP)
  @flex = BROWSER.flex_app('spring-hibernate-blazeds-flex', 'spring-hibernate-blazeds-flex')
end

at_exit do
  BROWSER.close
end